/*
 * @Author: dingxiao
 * @Date: 2025-06-27 10:47:25
 * @Description: 调研表单混入
 */
export default {
  computed: {
    /**
     * 页面是否可编辑
     */
    isPageEditable() {
      /*
       * 1.运维端可编辑
       * 2.非完成状态且非只读状态
       */
      const { isMaintain, isDone, allFieldsReadonly } = this;
      return isMaintain || !(isDone || allFieldsReadonly);
    },
  },
};
